package com.example.wanandroid.pojo;

import java.io.Serializable;
import java.util.Date;

public class Answer implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated Tue Apr 14 22:36:55 CST 2020
     */
    private Long id;

    /**
     * 用户id
     *
     * @mbggenerated Tue Apr 14 22:36:55 CST 2020
     */
    private Long userid;

    /**
     * 问题id
     *
     * @mbggenerated Tue Apr 14 22:36:55 CST 2020
     */
    private Long questionId;

    /**
     * 内容
     *
     * @mbggenerated Tue Apr 14 22:36:55 CST 2020
     */
    private String content;

    /**
     * 创建日期
     *
     * @mbggenerated Tue Apr 14 22:36:55 CST 2020
     */
    private Date createDate;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}